package com.Logistics.entity.truck;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("pd_truck_license")
public class TruckLicenseBean implements Serializable {
    private static final long serialVersionUID = 4942177349530798327L;
    @TableField("id")
    private String id;
    @TableField("truck_id")
    private String truck_id; //车辆id
    @TableField("engine_number")
    private String engine_number; //发动机号
    @TableField("registration_date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date registration_date; //注册日期
    @TableField("mandatory_scrap")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date mandatory_scrap; //强制报废日期
    @TableField("expiration_date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date expiration_date; //校验有效期
    @TableField("overall_quality")
    private BigDecimal overall_quality; //整体质量
    @TableField("allowable_weight")
    private BigDecimal allowable_weight; //允许载重
    @TableField("outside_dimensions")
    private String outside_dimensions; //整体尺寸
    @TableField("validity_period")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date validity_period; //行驶证有效期
    @TableField("transport_certificate_number")
    private String transport_certificate_number; //道路运输证号
    @TableField("picture")
    private String picture; //图片信息
}
